<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let num = 10;

        function fn() {
            return 20;
        }
        let html = `
            <span>${num}</span>
            <span>${fn()}</span>
            `
        console.log(html);
    </script>
</head>

<body>

</body>

</html>